import request from "@/util/serve.js"


// 获取分页商品列表
export let getList = (current, size) => {
    return request({
        url: "/order/getAll",
        method: "GET",
        params: {
            current, size
        }
    })
}


// 查询
export let blursearch = (current, key, size) => {
    return request({
        url: "/order/blursearch",
        method: "GET",
        params: {
            current, key, size
        }
    })
}

// 删除
export let del = (id) => {
    return request({
        url: "/order/delete",
        method: "DELETE",
        params: {
            id
        }
    })
}